package cn.edu.imnu.service;

import common.model.DataBootstrapTable;
import common.model.ResponseModelBootstrapTable;
import cn.edu.imnu.model.WordUser;

/**
 * Created with IntelliJ IDEA.
 *
 * @author ranhongmin--2018/3/3
 * Description:词条用户
 */
public interface WordUserService {

	/**
	 * 祝查询
	 *
	 * @param dataBootstrapTable
	 * @return
	 */
	ResponseModelBootstrapTable main(DataBootstrapTable dataBootstrapTable);

	/**
	 * 动作
	 *
	 * @param user
	 * @param action
	 * @return
	 */
	ResponseModelBootstrapTable doAction(WordUser user, String action);

	/**
	 * 登录
	 *
	 * @param username
	 * @param password
	 * @return
	 */
	ResponseModelBootstrapTable doLogin(String username, String password);

	/**
	 检查是否登录
	 * @param user
	 * @return
	 */
	ResponseModelBootstrapTable checkLogin(WordUser user);


}
